﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using OrganizedIN.DAL;
using OrganizedIN.BAL;
using OrganizedIN.BussinessServices;
using System.Data.SqlClient;
using Microsoft.ApplicationBlocks.Data;
using OrganizedIN.BAL.Common;
using System.IO;
using System.Diagnostics;

namespace OrganizedIN.UI.Videos
{
    public partial class add_new_videos : System.Web.UI.Page
    {
        

        protected void Page_Load(object sender, EventArgs e)
        {
            lblusername.Text = Convert.ToString(Session["UserID"]);
            //lblTodayDate.Text = String.Format("{0:D}", dt);               
        }

        protected void btnSave_Click(object sender, EventArgs e)
        {
            // OLD CODE STARTS

            //SqlService objservices = new SqlService();
            ////MyProfileTodo objMyTodo = new MyProfileTodo();
            //MyProfileVideo objAddNewVideos = new MyProfileVideo();
            
            //try
            //{
            //    objAddNewVideos.VideoSummary = txtVideoSummary.Text;
            //    objAddNewVideos.VideoRating = ddlRating.SelectedValue.ToString();
            //    objAddNewVideos.VideoSharerName = txtShare.Text;
            //    objAddNewVideos.VideoUpload = FLU.AppRelativeTemplateSourceDirectory.ToString() + FLU.FileName.ToString();
            //    objAddNewVideos.VideoEventName = txtAddEvent.Text;

            //    Common.Add_New_Videos(lblusername.Text, objAddNewVideos.VideoSummary, objAddNewVideos.VideoRating, objAddNewVideos.VideoSharerName, objAddNewVideos.VideoUpload, objAddNewVideos.VideoEventName);
            //}
            //catch (Exception ex)
            //{
            //    //lblErrMsg.Text = ex.ToString();
            //}

            ////txtSummary.Text = String.Empty;
            ////txtDescription.Text = String.Empty;

            // OLD CODE ENDS








        }
    }
}
